﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace BaseUtils.AppConfig
{
    public class Tightening : RootBase
    {

        [XmlElement("item")]
        public List<TighteningItem> TighteningItems { get; set; }

    }

    public class TighteningItem : RootBase
    {
        [XmlAttribute("timeout")]
        public int Timeout { get; set; }

        [XmlAttribute("tighteningIp")]
        public string TighteningIp { get; set; }

        [XmlAttribute("tighteningPort")]
        public int TighteningPort { get; set; }

    }
}
